﻿namespace Reviewer.Entities.MetadataInfo
{
    using System;

    /// <summary>
    /// Metadata lookup property attribute
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
    public sealed class MetadataLookupPropertyAttribute : MetadataPropertyBaseAttribute
    {
        /// <summary>
        /// Gets or sets the type of the lookup metadata.
        /// </summary>
        /// <value>The type of the lookup metadata.</value>
        public Type LookupMetadataType { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether this instance can select multiple.
        /// </summary>
        /// <value>
        /// 	<c>true</c> if this instance can select multiple; otherwise, <c>false</c>.
        /// </value>
        public bool CanSelectMultiple { get; set; }
    }
}
